<%@ include file="../common/common_include.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	List<TblOaFaq> list = (List<TblOaFaq>)request.getAttribute("list");
	FaqForm form = (FaqForm)request.getAttribute("command");
	
%>
<table class="tableList">
    <tbody>
	    <tr id="tableHeader">
	        <th style="width:67%;">说明标题</th>
	        <th style="width:15%;">发布人</th>
	        <th style="width:18%;">发布时间</th>
	    </tr>
	    <%
	    	if(!CollectionUtils.isEmpty(list)){
	    		for(TblOaFaq coreFaq:list){
	    			%>
				    <tr>
				        <td style="text-align: left;padding-left:10px;">
				        	<a name="toRead" 
				        	href="javascript:XF.Faq.detail('<%=EncrypTool.encode(Integer.valueOf(coreFaq.getFaqId()+""))%>')"><%=coreFaq.getFaqQuestion() %></a>
				        </td>
				        <td><%=coreFaq.getPublicMan() %></td>
				        <td><%=null!=coreFaq.getPublicTime()?DateFormatUtils.format(coreFaq.getPublicTime().getTime(), "yyyy-MM-dd HH:mm:ss"):"" %></td>
				    </tr>
	    			<%
	    		}
	    	}
	    %>
	      <tr>
		<%
			for(int i=0;i<3;i++){
				%><td style="height:0"/><%
			}
		%>
		</tr><tr>
		<%
			for(int i=0;i<3;i++){
				%><td style="height:0"/><%
			}
		%>
		</tr>
		<tr id="tableFooter">
			<td colspan="3">
				<div class="pagination">
					<monggoTag:pagination href="faq_search"
						pageSize="<%=form.getPageSize()%>"
						totalRecord="<%=form.getTotalRecord() %>"
						currentPage="<%=form.getPageNum() %>">
					</monggoTag:pagination>
				</div>
			</td>
		</tr>
    </tbody>

<%-- 	<tfoot>
		<tr id="tableFooter">
			<td colspan="3">
				<div class="pagination">
					<monggoTag:pagination href="faq_search"
						pageSize="<%=form.getPageSize()%>"
						totalRecord="<%=form.getTotalRecord() %>"
						currentPage="<%=form.getPageNum() %>">
					</monggoTag:pagination>
				</div>
			</td>
		</tr>
	</tfoot> --%>
</table>

<script type="text/javascript">
	$(function() {
		XF.Faq.init();
		XF.Faq.init_css();
	});
</script>

































